package com.vastcom.sigma.admin.dao;

import com.vastcom.sigma.admin.model.Kcsl;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface KcslDao extends JpaRepository<Kcsl,String> {

    @Query("select c.prototalnum from Kcsl c where c.proid=:cargocateid ")
    int getKcslsByProid(@Param("cargocateid") String cargocateid);

}
